# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'pyFSF-GUI.ui'
#
# Created: Tue Jun  5 20:01:34 2012
#      by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(406, 299)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.gridLayout = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_length = QtGui.QLabel(self.centralwidget)
        self.label_length.setObjectName(_fromUtf8("label_length"))
        self.gridLayout.addWidget(self.label_length, 0, 0, 1, 1)
        self.label_offset = QtGui.QLabel(self.centralwidget)
        self.label_offset.setObjectName(_fromUtf8("label_offset"))
        self.gridLayout.addWidget(self.label_offset, 1, 0, 1, 1)
        self.lineEdit_offset = QtGui.QLineEdit(self.centralwidget)
        self.lineEdit_offset.setObjectName(_fromUtf8("lineEdit_offset"))
        self.gridLayout.addWidget(self.lineEdit_offset, 1, 2, 1, 1)
        self.lineEdit_length = QtGui.QLineEdit(self.centralwidget)
        self.lineEdit_length.setObjectName(_fromUtf8("lineEdit_length"))
        self.gridLayout.addWidget(self.lineEdit_length, 0, 2, 1, 1)
        self.radio_Hex = QtGui.QRadioButton(self.centralwidget)
        self.radio_Hex.setEnabled(True)
        self.radio_Hex.setChecked(True)
        self.radio_Hex.setObjectName(_fromUtf8("radio_Hex"))
        self.gridLayout.addWidget(self.radio_Hex, 0, 3, 1, 1)
        self.found_label = QtGui.QLabel(self.centralwidget)
        self.found_label.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.found_label.setObjectName(_fromUtf8("found_label"))
        self.gridLayout.addWidget(self.found_label, 3, 2, 1, 1)
        self.label_margin = QtGui.QLabel(self.centralwidget)
        self.label_margin.setObjectName(_fromUtf8("label_margin"))
        self.gridLayout.addWidget(self.label_margin, 2, 0, 1, 1)
        self.checkBox_margin = QtGui.QCheckBox(self.centralwidget)
        self.checkBox_margin.setEnabled(True)
        self.checkBox_margin.setObjectName(_fromUtf8("checkBox_margin"))
        self.gridLayout.addWidget(self.checkBox_margin, 2, 3, 1, 1)
        self.lineEdit_margin = QtGui.QLineEdit(self.centralwidget)
        self.lineEdit_margin.setEnabled(False)
        self.lineEdit_margin.setObjectName(_fromUtf8("lineEdit_margin"))
        self.gridLayout.addWidget(self.lineEdit_margin, 2, 2, 1, 1)
        self.conv_button = QtGui.QPushButton(self.centralwidget)
        self.conv_button.setEnabled(True)
        self.conv_button.setObjectName(_fromUtf8("conv_button"))
        self.gridLayout.addWidget(self.conv_button, 5, 3, 1, 1)
        self.lineEdit_conv = QtGui.QLineEdit(self.centralwidget)
        self.lineEdit_conv.setEnabled(True)
        self.lineEdit_conv.setObjectName(_fromUtf8("lineEdit_conv"))
        self.gridLayout.addWidget(self.lineEdit_conv, 5, 2, 1, 1)
        self.label_conv = QtGui.QLabel(self.centralwidget)
        self.label_conv.setObjectName(_fromUtf8("label_conv"))
        self.gridLayout.addWidget(self.label_conv, 5, 0, 1, 1)
        self.line = QtGui.QFrame(self.centralwidget)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.gridLayout.addWidget(self.line, 4, 0, 1, 1)
        self.line_2 = QtGui.QFrame(self.centralwidget)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.gridLayout.addWidget(self.line_2, 4, 2, 1, 1)
        self.line_3 = QtGui.QFrame(self.centralwidget)
        self.line_3.setFrameShape(QtGui.QFrame.HLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName(_fromUtf8("line_3"))
        self.gridLayout.addWidget(self.line_3, 4, 3, 1, 1)
        self.label_repoint = QtGui.QLabel(self.centralwidget)
        self.label_repoint.setObjectName(_fromUtf8("label_repoint"))
        self.gridLayout.addWidget(self.label_repoint, 6, 0, 1, 1)
        self.rep_button = QtGui.QPushButton(self.centralwidget)
        self.rep_button.setEnabled(True)
        self.rep_button.setObjectName(_fromUtf8("rep_button"))
        self.gridLayout.addWidget(self.rep_button, 6, 3, 1, 1)
        self.next_button = QtGui.QPushButton(self.centralwidget)
        self.next_button.setEnabled(False)
        self.next_button.setObjectName(_fromUtf8("next_button"))
        self.gridLayout.addWidget(self.next_button, 3, 3, 1, 1)
        self.search_button = QtGui.QPushButton(self.centralwidget)
        self.search_button.setObjectName(_fromUtf8("search_button"))
        self.gridLayout.addWidget(self.search_button, 3, 0, 1, 1)
        self.radio_Dec = QtGui.QRadioButton(self.centralwidget)
        self.radio_Dec.setEnabled(True)
        self.radio_Dec.setObjectName(_fromUtf8("radio_Dec"))
        self.gridLayout.addWidget(self.radio_Dec, 1, 3, 1, 1)
        self.lineEdit_rep = QtGui.QLineEdit(self.centralwidget)
        self.lineEdit_rep.setObjectName(_fromUtf8("lineEdit_rep"))
        self.gridLayout.addWidget(self.lineEdit_rep, 6, 2, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 406, 25))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        self.menuHelp = QtGui.QMenu(self.menubar)
        self.menuHelp.setObjectName(_fromUtf8("menuHelp"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.actionOpen = QtGui.QAction(MainWindow)
        self.actionOpen.setObjectName(_fromUtf8("actionOpen"))
        self.actionQuit = QtGui.QAction(MainWindow)
        self.actionQuit.setObjectName(_fromUtf8("actionQuit"))
        self.actionHelp = QtGui.QAction(MainWindow)
        self.actionHelp.setObjectName(_fromUtf8("actionHelp"))
        self.actionAbout = QtGui.QAction(MainWindow)
        self.actionAbout.setObjectName(_fromUtf8("actionAbout"))
        self.menuFile.addAction(self.actionOpen)
        self.menuFile.addAction(self.actionQuit)
        self.menuHelp.addAction(self.actionAbout)
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuHelp.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
        MainWindow.setTabOrder(self.lineEdit_length, self.lineEdit_offset)
        MainWindow.setTabOrder(self.lineEdit_offset, self.lineEdit_margin)
        MainWindow.setTabOrder(self.lineEdit_margin, self.radio_Hex)
        MainWindow.setTabOrder(self.radio_Hex, self.radio_Dec)
        MainWindow.setTabOrder(self.radio_Dec, self.checkBox_margin)
        MainWindow.setTabOrder(self.checkBox_margin, self.search_button)
        MainWindow.setTabOrder(self.search_button, self.next_button)
        MainWindow.setTabOrder(self.next_button, self.lineEdit_conv)
        MainWindow.setTabOrder(self.lineEdit_conv, self.conv_button)
        MainWindow.setTabOrder(self.conv_button, self.rep_button)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "pyFSF", None, QtGui.QApplication.UnicodeUTF8))
        self.label_length.setText(QtGui.QApplication.translate("MainWindow", "Length", None, QtGui.QApplication.UnicodeUTF8))
        self.label_offset.setText(QtGui.QApplication.translate("MainWindow", "Start Offset - 0x", None, QtGui.QApplication.UnicodeUTF8))
        self.lineEdit_offset.setText(QtGui.QApplication.translate("MainWindow", "800000", None, QtGui.QApplication.UnicodeUTF8))
        self.radio_Hex.setText(QtGui.QApplication.translate("MainWindow", "Hex", None, QtGui.QApplication.UnicodeUTF8))
        self.found_label.setText(QtGui.QApplication.translate("MainWindow", "---------------------------", None, QtGui.QApplication.UnicodeUTF8))
        self.label_margin.setText(QtGui.QApplication.translate("MainWindow", "Margin", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBox_margin.setText(QtGui.QApplication.translate("MainWindow", "Enable", None, QtGui.QApplication.UnicodeUTF8))
        self.conv_button.setText(QtGui.QApplication.translate("MainWindow", "Convert", None, QtGui.QApplication.UnicodeUTF8))
        self.label_conv.setText(QtGui.QApplication.translate("MainWindow", "Convert Hex<-> Dec", None, QtGui.QApplication.UnicodeUTF8))
        self.label_repoint.setText(QtGui.QApplication.translate("MainWindow", "Permute offset", None, QtGui.QApplication.UnicodeUTF8))
        self.rep_button.setText(QtGui.QApplication.translate("MainWindow", "Permute", None, QtGui.QApplication.UnicodeUTF8))
        self.next_button.setText(QtGui.QApplication.translate("MainWindow", "Next", None, QtGui.QApplication.UnicodeUTF8))
        self.search_button.setText(QtGui.QApplication.translate("MainWindow", "Search", None, QtGui.QApplication.UnicodeUTF8))
        self.radio_Dec.setText(QtGui.QApplication.translate("MainWindow", "Dec", None, QtGui.QApplication.UnicodeUTF8))
        self.menuFile.setTitle(QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.menuHelp.setTitle(QtGui.QApplication.translate("MainWindow", "Help", None, QtGui.QApplication.UnicodeUTF8))
        self.actionOpen.setText(QtGui.QApplication.translate("MainWindow", "Open", None, QtGui.QApplication.UnicodeUTF8))
        self.actionOpen.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+O", None, QtGui.QApplication.UnicodeUTF8))
        self.actionQuit.setText(QtGui.QApplication.translate("MainWindow", "Quit", None, QtGui.QApplication.UnicodeUTF8))
        self.actionQuit.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+Q", None, QtGui.QApplication.UnicodeUTF8))
        self.actionHelp.setText(QtGui.QApplication.translate("MainWindow", "Help", None, QtGui.QApplication.UnicodeUTF8))
        self.actionHelp.setShortcut(QtGui.QApplication.translate("MainWindow", "F1", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAbout.setText(QtGui.QApplication.translate("MainWindow", "About", None, QtGui.QApplication.UnicodeUTF8))

